package com.ibeeking.found.cms.service.common.query;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ClassName PageModuleDataSelQuery
 * @Description
 * @Author ibeeking
 * @Date 2021-05-08 16:03
 **/
@Data
@Accessors(chain = true)
public class PageModuleDataSelQuery {
    private static final long serialVersionUID = 1L;

    /**
     * 页面组件类型
     */
    @NotBlank(message = "组件类型不能为空!")
    private String type;

    /**
     * 页面组件内容
     */
    @NotNull(message = "组件内容不能为空!")
    private JSONObject dataField;

}